home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!usenet
- From: maris@xs4all.nl (Anthony Moendir)
- Newsgroups: comp.lang.c
- Subject: Newbie: How to return Multi-Dimensional Array's?
- Date: Wed, 07 Feb 1996 00:47:38 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4f7t4m$4bk@news.xs4all.nl>
- NNTP-Posting-Host: ztm02-28.dial.xs4all.nl
- X-Newsreader: Forte Free Agent 1.0.82
-
- How can you return Multi-Dimensional Array's from a function?
- I would like to do something like this:
-
- voidt main()
- {
- char arr[10][5];
- tmp=foo();
- }
-
- char *foo()
- {
- char arr[10][5];
- // do something
- return (arr)
- }
-
-